#!/bin/bash
name=jni-jna-web-2.3.0.RELEASE.jar

pid=`ps -ef | grep $name | grep -v grep |awk '{print $2}'`
if [ $pid ]; then
    kill -9 $pid
    echo pid=$pid [$name] is stop
    echo
else
    echo $name is not running!
    echo
fi
